package com.example.demo99.Mapper;

import com.example.demo99.Entity.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface StudentMapper {
    int insertStudent(Student student);       // 插入
    int deleteStudentById(int id);            // 删除
    List<Student> getAllStudents();           // 查询全部

    Student getStudentById(int id);           // 查询单个
}
